ESAjaxButton = {};

ESAjaxButton.processing = function(targetId){
	$('#'+targetId+'--marker').remove();
	$('#'+targetId).after("<span class='es-rel-location' id='"+targetId+"--marker'><img src='../../resources/in.muton.wicket.component.IndicatingAjaxButton/busy.gif'/></span>");
};

ESAjaxButton.finish = function(targetId){
	$('#'+targetId+'--marker').html("<img src='../../resources/in.muton.wicket.component.IndicatingAjaxButton/tick.png'/>");
};